﻿using BCCommon.Enums;
using BCCommon.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.Agent.AgentApplicationRecord
{
    /// <summary>
    /// 代理商申请记录
    /// </summary>
    public class AgentApplicationRecordDto
    {
        /// <summary>
        /// 代理商申请记录ID
        /// </summary>
        public long AgentApplicationRecordId { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public ApprovalStatus ApprovalStatus { get; set; }

        /// <summary>
        /// 审批状态描述
        /// </summary>
        public string ApprovalStatusStr { get { return this.ApprovalStatus.GetDescriptionString(); } }

        /// <summary>
        /// 申请code
        /// </summary>
        public string ApplyCode { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public long CreateAdminId { get; set; }

        /// <summary>
        /// 创建人名称
        /// </summary>
        public string CreateAdminName { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
